package com.poorstu.dao;

import java.util.List;

import com.common.base.model.PaginationSupport;
import com.poorstu.model.PartTimeMod;
import com.poorstu.model.UserPartTimeMod;

public interface PartTimeDao {

	public List<PartTimeMod> selectPartTimeAll();
	
	public boolean addPartTime(PartTimeMod partTime);
	
	public PartTimeMod selectPartTimeById(int jobId);
	
	public boolean changePartTime(PartTimeMod partTime);
	
	public void deletePartTime(List<PartTimeMod> listPartTime);
	
	//public UserPartTimeMod selectUserPartByJobId(int jobId);
	
	public PaginationSupport getPartTimeByPage(String where,String orderField, String order,final Integer startIndex,final Integer pageSize);
	
	public PaginationSupport getUserPartTimeByPage(String where,String orderField, String order,final Integer startIndex,final Integer pageSize);
}
